home *** CD-ROM | disk | FTP | other *** search
- Path: toads.pgh.pa.us!tore
- From: tore@lis.pitt.edu (Tore Joergensen)
- Newsgroups: comp.lang.ada,comp.lang.c,comp.realtime
- Subject: Re: ADA to C converter, the dream ?
- Followup-To: comp.lang.ada,comp.lang.c,comp.realtime
- Date: 22 Feb 1996 00:28:49 GMT
- Organization: University of Pittsburgh
- Message-ID: <4ggdc2$jh2@toads.pgh.pa.us>
- References: <4fn8bv$6d1@news.be.innet.net> <tgmDMoBMy.E94@netcom.com> <3121E777.304D@afit.af.mil>
- NNTP-Posting-Host: icarus.lis.pitt.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- Rusty Baldwin (rbaldwin@nvi.nvi.net) wrote:
- : Thomas G. McWilliams wrote:
- : > There exists a good Pascal to C translator called p2c available
- : > in source code form (I think it might be GNU software). It might
- : > serve as a rough basis on which to build something like this.
- : > Perhaps you could run your Ada code through some Perl filters
- : > and post-process with p2c. Very hackish, I know. Maybe a Modula
- : > to C translator could be hacked more easily.
- : Why don't you use the gnat (Ada 95) compiler. It is a front end to the
- : gcc compiler. Perhaps there is a switch to generate C code??
-
- C and C++ are two other front ends to the gcc compiler. I'm quite sure
- that there isn't any switch for converting code between different
- front ends (wouldn't that be nice; C to C++ and Ada95 converter). BTW,
- there are several other front ends too.
- --
- +-------------------------+-------------------------------------------+
- | Tore B. Joergensen | e-mail : tore@lis.pitt.edu |
- | Centre Court Villa | web : http://www.pitt.edu/~tojst1 |
- | 5535 Centre Avenue # 6 | |
- | Pgh, PA 15232, USA | Norwegian MSIS-student at Univ. of Pgh. |
- +-------------------------+-------------------------------------------+
-